package com.tedu.service;

import java.util.List;
import java.util.Map;

import com.tedu.model.Order;

public interface IOrderService {
	public void add(Order order);
	public void delete(int id);
	public void update(Order order);
	public Order load(int id);
	public List<Order> list(int uid);
	public List<Order> adminlist(int status);    //后台显示
	public List<Order> adminsearch(String str);    //后台搜索
	public List<Order> adminmouthorder();    //后台按月统计
	public List<Order> listByStatus(int uid, int status);
	public int countByStatus(int uid, int status);
	public void cancel(int id);	
	public List<Order> listSearch(String name,int uid);	
}
